package com.mh.study.gradle.jar;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class DemoMain {

    public static void main(String[] args) {
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
            System.out.print("Please enter a line of text:");
            System.out.println("The text entered is -- " + reader.readLine());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
